package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.EmpInfoExample.*;

/**
 * 蓝领外包薪资档案
 *
 * @author wcl
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【蓝领外包薪资档案】详情展示对象")
@Data
public class EmpInfoSalaryVO extends BaseVO {

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    private String name;

    @ApiModelProperty(notes = N_PHONE)
    private String phone;

    @ApiModelProperty(notes = N_ID_CARD)
    private String idCard;

    @ApiModelProperty(notes = N_JOIN_DATE)
    private Date joinDate;

    @ApiModelProperty(notes = N_POST_TYPE, example = E_POST_TYPE)
    private Integer postType;

    @ApiModelProperty(notes = N_STATUS, example = E_STATUS)
    private Integer status;

    @ApiModelProperty(notes = "工时累计")
    private Float workHour;

    @ApiModelProperty(notes = "考勤天数累计")
    private Float workDay;

    @ApiModelProperty(notes = "渠道id")
    private String channelId;

    @ApiModelProperty(notes = "渠道名称")
    private String channelName;

    @ApiModelProperty(notes = N_SALARY_RULE_ID)
    private String salaryRuleId;

    @ApiModelProperty(notes = N_SERVICE_FEE_RULE_ID)
    private String serviceFeeRuleId;

    @ApiModelProperty(notes = "薪资规则", example = E_JOIN_DATE)
    private SalaryCalculateRuleGroupVO salaryRule;

    @ApiModelProperty(notes = "劳务费规则", example = E_JOIN_DATE)
    private SalaryCalculateRuleGroupVO serviceFeeRule;

    @ApiModelProperty(notes = "标签")
    private String tag;
}
